### Question:
StatusBuilder extends UpdateBuilder { public String build() { String status = ""; if(validNotificationsResponse() && validInboxResponse()) { status = inboxResponse.count + " / " + notificationResponse.count; } else if(validNotificationsResponse()) { status = String.valueOf(notificationResponse.count); } else if(validInboxResponse()) { status = String.valueOf(inboxResponse.count); } return status; } StatusBuilder(NotificationsResponse notificationsResponse, InboxResponse inboxResponse); String buildCondensed(); String build();  }### Answer:
@Test public void should_build_0_slash_0() { String status = "0 / 0"; InboxResponse inboxResponse = createInboxResponse(0); NotificationsResponse notificationsResponse = createNotificationResponse(0); StatusBuilder statusBuilder = new StatusBuilder(notificationsResponse, inboxResponse); assertEquals(status, statusBuilder.build()); }
@Test public void should_build_2_slash_1() { String status = "2 / 1"; InboxResponse inboxResponse = createInboxResponse(2); NotificationsResponse notificationsResponse = createNotificationResponse(1); StatusBuilder statusBuilder = new StatusBuilder(notificationsResponse, inboxResponse); assertEquals(status, statusBuilder.build()); }