While this is technically valid, I'd prefer you to verify this by doing

    Assert.assertTrue(client.browse(record).isEmpty());
    Assert.assertTrue(client.browse(record2).isEmpty();

because its consistent with the next statement and is easier for someone reading the test to understand