public void InternalUserId() { var userHavingBuilder = new UserHavingBuilder(); var havingBuilder = userHavingBuilder.InternalUserId("123"); var locator = ((IUserHavingBuilder) havingBuilder).GetLocator(); locator.Should().Be("id:123"); }
public void Username() { var userHavingBuilder = new UserHavingBuilder(); var havingBuilder = userHavingBuilder.Username("chuck"); var locator = ((IUserHavingBuilder) havingBuilder).GetLocator(); locator.Should().Be("username:chuck"); }
public BuildHavingBuilder TriggeredBy(UserHavingBuilder buildStatus) { m_Having.Add("user:" + buildStatus.GetLocator()); return this; }