public void Build_MemberCaptionNotFilled_FunctionIsSetToMembers() { var facto = new DiscoveryRequestFactory(); var disco = facto.Build("connectionString", string.Empty, "perspective", "dimension", "hierarchy", null); //Assertion Assert.That(disco.Function.ToLower(), Is.EqualTo("Members".ToLower())); }
public void Build_MemberCaptionFilled_MemberCaptionIsSet() { var facto = new DiscoveryRequestFactory(); var disco = facto.Build("connectionString", "parent-member", "perspective", "dimension", "hierarchy", null); //Assertion Assert.That(disco.MemberCaption, Is.EqualTo("parent-member")); }