상속: IUserHavingBuilder
예제 #1
0
        public void InternalUserId()
        {
            var userHavingBuilder = new UserHavingBuilder();
            var havingBuilder = userHavingBuilder.InternalUserId("123");

            var locator = ((IUserHavingBuilder) havingBuilder).GetLocator();

            locator.Should().Be("id:123");
        }
예제 #2
0
        public void Username()
        {
            var userHavingBuilder = new UserHavingBuilder();
            var havingBuilder = userHavingBuilder.Username("chuck");

            var locator = ((IUserHavingBuilder) havingBuilder).GetLocator();

            locator.Should().Be("username:chuck");
        }
예제 #3
0
 public BuildHavingBuilder TriggeredBy(UserHavingBuilder buildStatus)
 {
     m_Having.Add("user:" + buildStatus.GetLocator());
     return this;
 }