public void CreatesDefinitionForType() { TestObject.Clone(TestEntity); MockDefinitionFactory.Verify(factory => factory.Create <PrimitiveEntity>(TestObject), Times.Once); }