@Test public void shouldGetClasses() { RestAuthService restAuthService = new RestAuthService(); Set<Class<?>> classes = restAuthService.getClasses(); assertEquals(classes.size(), 1); assertTrue(classes.contains(AuthenticationRestService.class)); }
@Override public Set<Class<?>> getClasses() { Set<Class<?>> classes = new HashSet<Class<?>>(); classes.add(AuthenticationRestService.class); return classes; }
RestAuthService extends Application { @Override public Set<Class<?>> getClasses() { Set<Class<?>> classes = new HashSet<Class<?>>(); classes.add(AuthenticationRestService.class); return classes; } }
RestAuthService extends Application { @Override public Set<Class<?>> getClasses() { Set<Class<?>> classes = new HashSet<Class<?>>(); classes.add(AuthenticationRestService.class); return classes; }  }
RestAuthService extends Application { @Override public Set<Class<?>> getClasses() { Set<Class<?>> classes = new HashSet<Class<?>>(); classes.add(AuthenticationRestService.class); return classes; }  @Override Set<Class<?>> getClasses(); }
RestAuthService extends Application { @Override public Set<Class<?>> getClasses() { Set<Class<?>> classes = new HashSet<Class<?>>(); classes.add(AuthenticationRestService.class); return classes; }  @Override Set<Class<?>> getClasses();  }