### Question:
BehaviorManager { public List<CareBehaviorTemplate> listCareBehaviorTemplates(SubsystemContext<CareSubsystemModel> context) { List<CareBehaviorTemplate> clientTemplates = new ArrayList<CareBehaviorTemplate>(); for (BehaviorCatalogTemplate catalogTemplate : catalog.getBehavior()){ CareBehaviorTemplate template = new CareBehaviorTemplate(); template.setName(catalogTemplate.getName()); template.setDescription(catalogTemplate.getDescription()); template.setId(catalogTemplate.getId()); template.setType(catalogTemplate.getType()); template.setAvailableDevices(getAvailableDevices(catalogTemplate, context)); template.setTimeWindowSupport(catalogTemplate.getTimeWindowSupport()); loadOptions(catalogTemplate.getOption(), template); clientTemplates.add(template); } return clientTemplates; } BehaviorManager(); void bind(SubsystemContext<CareSubsystemModel> context); CareBehaviorTypeWrapper getBehaviorFromContext(String id, SubsystemContext<CareSubsystemModel> context); List<CareBehaviorTypeWrapper> listCareBehaviors(SubsystemContext<CareSubsystemModel> context); List<CareBehaviorTemplate> listCareBehaviorTemplates(SubsystemContext<CareSubsystemModel> context); void loadOptions(List<BehaviorOption> options, CareBehaviorTemplate template); void updateBehavior(CareBehaviorTypeWrapper behavior, SubsystemContext<CareSubsystemModel> context); boolean removeBehavior(String id, SubsystemContext<CareSubsystemModel> context); String addBehavior(CareBehaviorTypeWrapper behavior, SubsystemContext<CareSubsystemModel> context); boolean behaviorNameExists(String name, SubsystemContext<CareSubsystemModel> context); boolean behaviorNameExists(CareBehaviorTypeWrapper behaviorWrapper, SubsystemContext<CareSubsystemModel> context); CareBehaviorTypeWrapper loadBehaviorByName(String name, SubsystemContext<CareSubsystemModel> context);  }### Answer:
@Test public void testListBehaviorTemplates() { List<CareBehaviorTemplate> templates = manager.listCareBehaviorTemplates(context); assertTrue(templates.size() > 0); }