Example #1
0
 public function testWantCollectionOfMustReturnNullOnEmptyCollection()
 {
     $this->assertNull(\Want\collectionOf($this->type, array(), array()));
 }
Example #2
0
 public function testInstanceMustThrowException()
 {
     $this->setExpectedException('InvalidArgumentException');
     \Want\collectionOf('TFarla_Want_Type_Test', array(new TFarla_Want_Type_Test(), 1));
 }