### Question:
TopicTypeVm { @NotifyChange({"showPopUp"}) @Command public void editTopicType() { showPopUp = true; } TopicTypeVm(@Nonnull TopicTypeService topicTypeService,
                       @Nonnull DialogManager dialogManager); @NotifyChange({"selected", "showPopUp"}) @Command void newTopicType(); @NotifyChange({"showPopUp"}) @Command void editTopicType(); @NotifyChange({"selected", "topicTypes", "showPopUp"}) @Command void saveTopicType(); @NotifyChange({"selected", "showPopUp"}) @Command void cancelEditTopicType(); @NotifyChange({"selected", "topicTypes"}) @Command void deleteTopicType(); @NotifyChange({"selected", "topicTypes"}) @Command void deleteFromList(TopicType selected); DialogManager getDialogManager(); ListModelList<TopicType> getTopicTypes(); void setTopicTypes(ListModelList<TopicType> topicTypes); TopicType getSelected(); void setSelected(TopicType selected); TopicTypeService getTopicTypeService(); Boolean getShowPopUp();  }### Answer:
@Test public void testEditTopicType() { topicTypeVm.editTopicType(); assertNotNull(topicTypeVm.getShowPopUp()); }