@Test
public void adding_invalid_state_should_fail() {

    try {
        StateListColourDrawableBuilder builder = new StateListColourDrawableBuilder(Color.BLACK);
        builder.addStateColour(new int[]{1}, Color.RED);
        fail("Adding invalid state should fail in StateListColourDrawableBuilder");
    } catch (IllegalArgumentException e) {}
}