public void BindToType_AfterAddingMappingUsingTypeSafeMapType_ReturnsMappedType() { const string assemblyName = "testAssembly"; // This is not a real assembly, as a real one is needed and using a false one allows better test isolation. const string typeName = "AfterAddingMappingUsingTypeSafeMapType"; ExtendedSerializationBinder.MapType <String>(assemblyName, typeName); Type result = ExtendedSerializationBinder.Default.BindToType(assemblyName, typeName); Assert.AreEqual(typeof(String), result); }
public void Default_IsNotNull() { ExtendedSerializationBinder Default = ExtendedSerializationBinder.Default; Assert.IsNotNull(Default); }