예제 #1
0
        public void ThenTheUserShouldGetANewLabelWithAndFromTheBoard(string name, string color, string boardId)
        {
            response.StatusCode.Should().Be(200);
            Labels mylabels = Labels.Deserialize(response);

            mylabels.id.Should().NotBeNullOrEmpty();
            mylabels.idBoard.Should().Be(boardId);
            mylabels.name.Should().Be(name);
            mylabels.color.Should().Be(color);
        }
예제 #2
0
 public bool Deserialize(string state)
 {
     _labels.Deserialize(state);
     return(true);
 }