public void PainterCreationWithoutReflectionTest() { SimpleFactory factory = SimpleFactory.GetFactory(); IArtist x = factory.GetArtist(typeof(Painter)); Assert.AreSame(x.GetType(), typeof(Painter)); }
public void PainterCreationWithoutReflectionTest() { SimpleFactory factory = SimpleFactory.GetFactory(); IArtist x = factory.GetArtist(typeof(Painter)); Assert.AreSame(x.GetType(), typeof(Painter)); }