public void CreateFunctionWithoutParams_Object_PropertyDeepCheck() { ITestClassNoParams etalon_object = new TestClassNoParams(); ITestClassNoParams created_object = classFactory.Create <ITestClassNoParams>(); Assert.AreEqual(etalon_object.testFunction(), created_object.testFunction()); }
public void CreateFunctionWithoutParamsCreatesCorrectObject() { ITestClassNoParams etalon_object = new TestClassNoParams(); ITestClassNoParams created_object = classFactory.Create <ITestClassNoParams>(); Assert.ReferenceEquals(etalon_object, created_object); }