### Question:
JDBCSSHRecordStore implements SSHRecordStore { @Override public boolean enableNotifications(NotificationManager notificationManager, RolesProvider rolesProvider, final String serverName) { LOGGER.warn("Notifications not supported"); return false; } JDBCSSHRecordStore(PoolableDataSource src); @Override SSHRecordStoreConnection getConnection(); @Override void setOperationTimeout(int opTimeout); @Override void clearConnections(); @Override void log(final Principal principal, final String ip, final String service,
                    final String instanceId); @Override boolean enableNotifications(NotificationManager notificationManager, RolesProvider rolesProvider, final String serverName);  }### Answer:
@Test public void testEnableNotifications() { PoolableDataSource mockDataSrc = Mockito.mock(PoolableDataSource.class); JDBCSSHRecordStore store = new JDBCSSHRecordStore(mockDataSrc); boolean isEnabled = store.enableNotifications(null, null, null); assertFalse(isEnabled); NotificationManager notificationManager = Mockito.mock(NotificationManager.class); RolesProvider rolesProvider = Mockito.mock(RolesProvider.class); String serverName = "testServer"; isEnabled = store.enableNotifications(notificationManager, rolesProvider, serverName); assertFalse(isEnabled); }