Esempio n. 1
0
 public function testDependencyWithPropertyAndNullValues()
 {
     Phactory::reset();
     Phactory::$dependencyClass = 'CustomDependency';
     Phactory::builder(new TestBuilder());
     $entry = Phactory::entry(array('design' => Phactory::design(array('attachment' => Phactory::attachment(array('co_creator' => null))))));
     $this->assertNull($entry->co_designer);
 }