@@ -45,6 +45,7 @@ public void testListEmailForwardsProducesDomainList() {
4545 PaginatedResponse <EmailForward > response = client .domains .listEmailForwards (1 , "example.com" );
4646 assertThat (response .getData (), hasSize (1 ));
4747 assertThat (response .getData ().get (0 ).getId (), is (24809L ));
48+ assertThat (response .getData ().get (0 ).isActive (), is (true ));
4849 }
4950
5051 @ Test
@@ -64,6 +65,7 @@ public void testGetEmailForward() {
6465 assertThat (emailForward .getFrom (), is ("example@dnsimple.xyz" ));
6566 assertThat (emailForward .getAliasEmail (), is ("example@dnsimple.xyz" ));
6667 assertThat (emailForward .getDestinationEmail (), is ("example@example.com" ));
68+ assertThat (emailForward .isActive (), is (true ));
6769 assertThat (emailForward .getCreatedAt (), is (OffsetDateTime .of (2021 , 1 , 25 , 13 , 54 , 40 , 0 , UTC )));
6870 assertThat (emailForward .getUpdatedAt (), is (OffsetDateTime .of (2021 , 1 , 25 , 13 , 54 , 40 , 0 , UTC )));
6971 }
@@ -91,6 +93,7 @@ public void testCreateEmailForwardProducesEmailForward() {
9193 hasEntry ("destination_email" , "example@example.com" )
9294 ));
9395 assertThat (response .getData ().getId (), is (41872L ));
96+ assertThat (response .getData ().isActive (), is (true ));
9497 }
9598
9699 @ Test
0 commit comments