public void LikeActionRequest_Should_Return_Values_Set() { var result = DTOModelSetters.SetLikeActionRequest(); result.ShouldNotBeNull(); result.ArticleLiked.ShouldBe(true); }
public void CreateArticleData_Should_Return_Values_Set() { var result = DTOModelSetters.SetCreateArticleUserData(); result.ShouldNotBeNull(); result.Body.ShouldBe("value"); result.Title.ShouldBe("value"); }
public void UserLoginRequest_Should_Return_Values_Set() { var result = DTOModelSetters.SetUserLoginRequest(); result.ShouldNotBeNull(); result.username.ShouldBe("value"); result.password.ShouldBe("value"); }
public void SuccessCreateUserResponse_Should_Return_Values_Set() { var result = DTOModelSetters.SetSuccessCreateUserResponse(); result.ShouldNotBeNull(); result.Email.ShouldBe("value"); result.Username.ShouldBe("value"); result.UserUniqueIdentity.ShouldBe(Guid.Empty); }
public void CreateUserAPIRequest_Should_Return_Values_Set() { var result = DTOModelSetters.SetCreateUserAPIRequest(); result.ShouldNotBeNull(); result.password.ShouldBe("value"); result.username.ShouldBe("value"); result.Email.ShouldBe("value"); }
public void CreateArticleRequest_Should_Return_Values_Set() { var result = DTOModelSetters.SetCreateArticleRequest(); result.ShouldNotBeNull(); result.Body.ShouldBe("value"); result.Title.ShouldBe("value"); result.Description.ShouldBe("value"); }
public void UserSuccessLoginResponse_Should_Return_Values_Set() { var result = DTOModelSetters.SetUserSuccessLoginResponse(); result.ShouldNotBeNull(); result.Username.ShouldBe("value"); result.UserUniqueIdentity.ShouldBe(Guid.Empty); result.Email.ShouldBe("value"); result.ArticleLiked.ShouldBe(new List <LikeDTO>()); }
public void GetArticleResponse_Should_Return_Values_Set() { var result = DTOModelSetters.SetGetArticleResponse(); result.ShouldNotBeNull(); result.Body.ShouldBe("value"); result.Title.ShouldBe("value"); result.Description.ShouldBe("value"); result.DateAdded.ShouldBe(DateTime.Now.Date); result.ArticleUniqueIdentifier.ShouldBe(Guid.Empty); result.ArticleLikes.ShouldBe(0); }