public function testCustomBuilder() { Phactory::reset(); Phactory::builder(new CustomBuilder()); $cake = Phactory::cake(); $this->assertInstanceOf('CustomObject', $cake); }