Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
allFieldsInstance
final Customer testCustomer = new Customer(
"John",
"Smith",
Optional.of(30),
Optional.of("Flat 0, Some Street, W1 XYZ"),
Optional.of("01234 567890"),
Optional.of(Sex.MALE)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment