Пример #1
0
 public function testCustomBuilder()
 {
     Phactory::reset();
     Phactory::builder(new CustomBuilder());
     $cake = Phactory::cake();
     $this->assertInstanceOf('CustomObject', $cake);
 }