### Question:
CustomerDraftBuilder extends CustomerDraftBuilderBase<CustomerDraftBuilder> { public static CustomerDraftBuilder of(final CustomerName customerName, final String email, final String password) { return CustomerDraftBuilder.of(email, password) .firstName(customerName.getFirstName()) .middleName(customerName.getMiddleName()) .lastName(customerName.getLastName()) .title(customerName.getTitle()); } CustomerDraftBuilder(@Nullable final List<Address> addresses, @Nullable final String anonymousCartId, @Nullable final String anonymousId, @Nullable final List<Integer> billingAddresses, @Nullable final String companyName, @Nullable final CustomFieldsDraft custom, @Nullable final ResourceIdentifier<CustomerGroup> customerGroup, @Nullable final String customerNumber, @Nullable final LocalDate dateOfBirth, @Nullable final Integer defaultBillingAddress, @Nullable final Integer defaultShippingAddress, final String email, final Boolean emailVerified, @Nullable final String externalId, @Nullable final String firstName, @Nullable final String key, @Nullable final String lastName, @Nullable final Locale locale, @Nullable final String middleName, final String password, @Nullable final String salutation, @Nullable final List<Integer> shippingAddresses, final @Nullable List<ResourceIdentifier<Store>> stores, @Nullable final String title, @Nullable final String vatId); static CustomerDraftBuilder of(final CustomerName customerName, final String email, final String password);  }### Answer:
@Test public void toStringDoesNotIncludeThePassword() throws Exception { final String secret = "123456"; final CustomerDraft draft = CustomerDraftDsl.of(CustomerName.ofFirstAndLastName("hello", "world"), randomString(), secret); assertThat(CustomerDraftBuilder.of(draft).toString()).doesNotContain(secret); }
@Test public void constructionWithoutName() { final CustomerDraft customerDraft = CustomerDraftDsl.of(randomString(), "password"); assertThat(customerDraft.getLastName()).isNull(); assertThat(customerDraft.getFirstName()).isNull(); assertThat(customerDraft.getName().getLastName()).isNull(); }