private Engine engine;
public void bootstrap() {
StatusServerConfiguration configuration = new ConfigurationBuilder().addDevice("fake").addAttributeToDevice("fake", "double", "poll", "last", 1, 0).build();
ClientsManager clientsManager = new ClientsManager(new ClientFactory() {
@Override
public Client createClient(String deviceName) {
Client client = mock(Client.class);
try {
doReturn(true).when(client).checkAttribute("double");