public void ClassToDictionary_GetOnlyGetInstances() { var testClass = TestClassWithoutInstance.Create(); var result = testClass.ToDictionary(); Assert.AreEqual(1, result.Count); }
public void ClassToKeyValuePair_GetOnlyGetInstances() { var testClass = new TestClassWithoutInstance { IntValue = 3, StringValue = "string value", BooleanValue = true, IntArray = _intArray, IntList = _intArray }; var result = testClass.ToKeyValuePair(); Assert.AreEqual(1, result.Count); }