SparseBooleanArrayBuilder { @NonNull @CheckResult public SparseBooleanArray build() { return sparseBooleanArray; } SparseBooleanArrayBuilder();  SparseBooleanArrayBuilder(final int capacity);  SparseBooleanArrayBuilder(@NonNull final SparseBooleanArray sparseBooleanArray); @CheckResult SparseBooleanArrayBuilder put(final int key, final boolean value); @CheckResult SparseBooleanArrayBuilder clear(); @NonNull @CheckResult SparseBooleanArray build();  }
@Test public void constructorEmptyBuildShouldReturnEmpty() { final SparseBooleanArray actual = new SparseBooleanArrayBuilder().build(); final SparseBooleanArray expected = new SparseBooleanArray(); assertSparseBooleanArrayEquals(expected, actual); }
@Test public void constructor0CapacityBuildShouldReturnEmpty() { final SparseBooleanArray actual = new SparseBooleanArrayBuilder(0).build(); final SparseBooleanArray expected = new SparseBooleanArray(); assertSparseBooleanArrayEquals(expected, actual); }