@Test
public void testEquals() {

  CloudBigtableConfiguration underTest1 = createBaseBuilder().build();
  CloudBigtableConfiguration underTest2 = createBaseBuilder().build();
  CloudBigtableConfiguration underTest3 =
      createBaseBuilder().withConfiguration("somekey", "somevalue").build();
  CloudBigtableConfiguration underTest4 = createBaseBuilder("other_project", INSTANCE).build();
  CloudBigtableConfiguration underTest5 =
      createBaseBuilder().withConfiguration("somekey", "somevalue").build();
  // Test CloudBigtableConfiguration that should be equal.
  Assert.assertEquals(underTest1, underTest2);
  // Test CloudBigtableConfiguration with different additionalConfigurations are not equal.
  Assert.assertNotEquals(underTest1, underTest3);
  // Test CloudBigtableConfiguration with different ProjectId are not equal.
  Assert.assertNotEquals(underTest1, underTest4);
  // Test CloudBigtableConfiguration with the same extended parameters are equal.
  Assert.assertEquals(underTest3, underTest5);
}