### Question:
RotatingTaskScheduler implements TaskScheduler { protected boolean hasCorrectRole(TimerDrivenModule<?> module) { return true; } RotatingTaskScheduler(GraphDatabaseService database, ModuleMetadataRepository repository, TimingStrategy timingStrategy); @Override void registerModuleAndContext(T module, C context); @Override void start(); @Override void stop();  }### Answer:
@Test public void shouldIgnoreRole() { assertTrue(rotatingTaskScheduler.hasCorrectRole(MockTimerModuleContext.buildModule(MasterOnly.getInstance()))); assertTrue(rotatingTaskScheduler.hasCorrectRole(MockTimerModuleContext.buildModule(SlavesOnly.getInstance()))); assertTrue(rotatingTaskScheduler.hasCorrectRole(MockTimerModuleContext.buildModule(AnyRole.getInstance()))); assertTrue(rotatingTaskScheduler.hasCorrectRole(MockTimerModuleContext.buildModule(WritableRole.getInstance()))); }