@Test
public void testUpdatePendingGroupMembersNotificationTimestamp() throws Exception {

    JDBCConnection jdbcConn = new JDBCConnection(mockConn, true);
    Mockito.when(mockPrepStmt.executeUpdate())
            .thenReturn(3); // 3 members updated
    long timestamp = new Date().getTime();
    boolean result = jdbcConn.updatePendingGroupMembersNotificationTimestamp("localhost", timestamp, 0);
    java.sql.Timestamp ts = new java.sql.Timestamp(timestamp);
    Mockito.verify(mockPrepStmt, times(1)).setTimestamp(1, ts);
    Mockito.verify(mockPrepStmt, times(1)).setString(2, "localhost");
    Mockito.verify(mockPrepStmt, times(1)).setTimestamp(3, ts);
    assertTrue(result);
    jdbcConn.close();
}