public function testDefineWithCustomBlueprint() { $blueprint = new FixtureBlueprint('FixtureFactoryTest_DataObject'); $factory = new FixtureFactory(); $this->assertFalse($factory->getBlueprint('FixtureFactoryTest_DataObject')); $factory->define('FixtureFactoryTest_DataObject', $blueprint); $this->assertInstanceOf('FixtureBluePrint', $factory->getBlueprint('FixtureFactoryTest_DataObject')); $this->assertEquals($blueprint, $factory->getBlueprint('FixtureFactoryTest_DataObject')); }