private ObjectNormalizerFacade CreateTestNormalizer() { ObjectNormalizerFacade facade = new ObjectNormalizerFacade(ObjectClass.ACCOUNT, new MyAttributeNormalizer()); return(facade); }
private void AssertNormalizedFilter(Filter expectedNormalizedFilter, Filter filter) { ObjectNormalizerFacade facade = CreateTestNormalizer(); filter = facade.NormalizeFilter(filter); String expectedXml = SerializerUtil.SerializeXmlObject(expectedNormalizedFilter, false); String actualXml = SerializerUtil.SerializeXmlObject(filter, false); Assert.AreEqual(expectedXml, actualXml); }
private ObjectNormalizerFacade CreateTestNormalizer() { ObjectNormalizerFacade facade = new ObjectNormalizerFacade(ObjectClass.ACCOUNT, new MyAttributeNormalizer()); return facade; }