Merge "inplace of hasSize(0), isEmpty() is used in AssertJ for better error message"