if (isRunningWithEmulator(config)) {
return;
}
// Act
ServiceProperties props = service.getServiceProperties().getValue();
props.getLogging().setRead(true);
service.setServiceProperties(props);
props = service.getServiceProperties().getValue();
// Assert
assertNotNull(props);
assertNotNull(props.getLogging());
assertNotNull(props.getLogging().getRetentionPolicy());
assertNotNull(props.getLogging().getVersion());
assertTrue(props.getLogging().isRead());
assertNotNull(props.getMetrics().getRetentionPolicy());
assertNotNull(props.getMetrics().getVersion());
}