just use `Assert.assertTrue(parts.length == 2)` instead of `if` above