assert !level.isVisibleForClientType("computer.web.default");
}
@Test
public void testClientTypesIncludedWithExceptions() {
MenuLevelCommand level = new MenuLevelCommand("test","Test");
level.getIncludedClientTypes().add("computer");
level.getExcludedClientTypes().add("computer.web");
assert !level.isVisibleForClientType("squeezebox");
assert level.isVisibleForClientType("computer");
assert level.isVisibleForClientType("computer.rich");
assert !level.isVisibleForClientType(null);
assert !level.isVisibleForClientType("computer.web");
assert !level.isVisibleForClientType("computer.web.default");
}