void (String[] content, int offset, Boolean expected) { Assert.assertFalse("unexpected right part (empty background)", isEmpty(content, offset)); if (expected != null) Assert.assertEquals("unexpected left part", expected, isEmpty(content, 0, offset)); }