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); }
public bool Deserialize(string state) { _labels.Deserialize(state); return(true); }