@Test
public void testToAttributeValueV2_IllegalArgumentWhenNull_BOOL() {

    Assertions.assertThrows(IllegalArgumentException.class, () ->
            DynamodbAttributeValueTransformer.toAttributeValueV2(new AttributeValue().withBOOL(null))
    );
}