How to chain multiple assertThat statement in AssertJ
Clash Royale CLAN TAG #URR8PPP How to chain multiple assertThat statement in AssertJ Here is an example: assertThat(commentById.getId()).isNotNull(); assertThat(commentById.getContent()).isNotBlank(); assertThat(commentById.getAuthor()).isNotNull(); assertThat(commentById.getAuthor().getUsername()).isNotBlank(); assertThat(commentById.getAuthor().getAvatar()).isNotBlank(); assertThat(commentById.getAuthor().getId()).isNotNull(); Is there anyway to chain this into a single assertThat statement assertThat By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.