public override void Given() { base.Given(); this.Declaration = DomainStubFactory.CreateDeclaration(new Badge { Nbr = "1265-1265-1265" }); ExpectedResult = DomainStubFactory.CreateDeclareSendMessageRequest(this.Declaration); }
public DeclareSendMessageRequest MapToDeclareSendMessageRequest(Declaration declaration) { DeclareSendMessageRequest to = new DeclareSendMessageRequest { Declaration = declaration }; return(to); }
public override void When() { Result = MapperService.MapToDeclareSendMessageRequest(Declaration); }