### Question:
ChatModel { public boolean hasOutgoingMessages() { return !outgoingMessages.isEmpty(); } @Inject  ChatModel(); void setFromJson(JSONObject jsonObject); void setNewOutgoingMessage(OutgoingChatMessage newOutgoingMessage); JSONArray getOutgoingMessagesAsJson(); ArrayList<IChatMessage> getSavedAndOutgoingMessages(); boolean hasOutgoingMessages();  }### Answer:
@Test public void hasOutgoingChatmessages_isFalseIfNoOutgoingMessagesExist() { final ChatModel tested = new ChatModel(); assertThat(tested.hasOutgoingMessages()).isFalse(); }