isEmpty() public method

public isEmpty ( ) : boolean
return boolean
Beispiel #1
0
 public function testIsEmpty()
 {
     $bag = new MethodCallBag();
     $this->assertTrue($bag->isEmpty());
     $bag = $bag->with(new FakeMethodCall());
     $this->assertFalse($bag->isEmpty());
 }