Beispiel #1
0
 public function testGetInstance()
 {
     $instance1 = Interpreter::getInstance();
     $instance2 = Interpreter::getInstance();
     $this->assertInstanceOf('Pry\\Shell\\Interpreter', $instance1);
     $this->assertSame($instance1, $instance2);
 }