Examples of firstName()


Examples of com.saasovation.agilepm.domain.model.team.ProductOwner.firstName()

                        productOwner.username());

        assertNotNull(savedProductOwner);
        assertEquals(productOwner.tenantId(), savedProductOwner.tenantId());
        assertEquals(productOwner.username(), savedProductOwner.username());
        assertEquals(productOwner.firstName(), savedProductOwner.firstName());
        assertEquals(productOwner.lastName(), savedProductOwner.lastName());
        assertEquals(productOwner.emailAddress(), savedProductOwner.emailAddress());

        Collection<ProductOwner> savedProductOwners =
                this.productOwnerRepository.allProductOwnersOfTenant(productOwner.tenantId());
View Full Code Here

Examples of com.saasovation.agilepm.domain.model.team.TeamMember.firstName()

                        teamMember.username());

        assertNotNull(savedTeamMember);
        assertEquals(teamMember.tenantId(), savedTeamMember.tenantId());
        assertEquals(teamMember.username(), savedTeamMember.username());
        assertEquals(teamMember.firstName(), savedTeamMember.firstName());
        assertEquals(teamMember.lastName(), savedTeamMember.lastName());
        assertEquals(teamMember.emailAddress(), savedTeamMember.emailAddress());

        Collection<TeamMember> savedTeamMembers =
                this.teamMemberRepository.allTeamMembersOfTenant(teamMember.tenantId());
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.FullName.firstName()

        aLastNamePrefix = aLastNamePrefix.toLowerCase();

        for (User user : this.repository().values()) {
            if (user.tenantId().equals(aTenantId)) {
                FullName name = user.person().name();
                if (name.firstName().toLowerCase().startsWith(aFirstNamePrefix)) {
                    if (name.lastName().toLowerCase().startsWith(aLastNamePrefix)) {
                        users.add(user);
                    }
                }
            }
View Full Code Here

Examples of com.testdomain.FieldAccount.firstName()

  }

  protected FieldAccount newFieldAccount6() {
    FieldAccount account = new FieldAccount();
    account.id(6);
    account.firstName("Jennifer");
    account.lastName("Begin");
    account.emailAddress("no_email@provided.com");
    return account;
  }
View Full Code Here

Examples of net.sf.gluent.doc.fluentpatterns.basicbuilder.Person.PersonBuilder.firstName()

  @Test
  public void testBuilderCanBeReusedIfNothingIsRewritten() {
    PersonBuilder someMeikalainenWith = Person.with().lastName(
        "Meikäläinen");
    Person matti = someMeikalainenWith.firstName("Matti").birthYear(1973)
        .end();
    Person maija = someMeikalainenWith.firstName("Maija").birthYear(1976)
        .end();
    assertEquals("Matti Meikäläinen 1973", matti.toString());
    assertEquals("Maija Meikäläinen 1976", maija.toString());
View Full Code Here

Examples of net.sf.gluent.doc.fluentpatterns.basicbuilder.Person.PersonBuilder.firstName()

  public void testBuilderCanBeReusedIfNothingIsRewritten() {
    PersonBuilder someMeikalainenWith = Person.with().lastName(
        "Meikäläinen");
    Person matti = someMeikalainenWith.firstName("Matti").birthYear(1973)
        .end();
    Person maija = someMeikalainenWith.firstName("Maija").birthYear(1976)
        .end();
    assertEquals("Matti Meikäläinen 1973", matti.toString());
    assertEquals("Maija Meikäläinen 1976", maija.toString());
  }
View Full Code Here

Examples of net.sf.gluent.doc.fluentpatterns.basicbuilder.Person.PersonBuilder.firstName()

    PersonBuilder somePersonWith = Person.with()
        .firstName("defaultFirstName").lastName("defaultLastName")
        .birthYear(1900);
    PersonBuilder someMeikalainenWith = somePersonWith
        .lastName("Meikäläinen");
    Person mattiMeikalainen = someMeikalainenWith.firstName("Matti")
        .birthYear(1973).end();
    Person kalleKustaa = somePersonWith.firstName("Kalle")
        .lastName("Kustaa").end();
    assertEquals("Matti Meikäläinen 1973", mattiMeikalainen.toString());
    // note that 1973 leaked to kalleKustaa:
View Full Code Here

Examples of net.sf.gluent.doc.fluentpatterns.immutablebuilder.Person.PersonBuilder.firstName()

    PersonBuilder somePersonWith = Person.with()
        .firstName("defaultFirstName").lastName("defaultLastName")
        .birthYear(1900);
    PersonBuilder someMeikalainenWith = somePersonWith
        .lastName("Meikäläinen");
    Person mattiMeikalainen = someMeikalainenWith.firstName("Matti")
        .birthYear(1973).end();
    Person kalleKustaa = somePersonWith.firstName("Kalle")
        .lastName("Kustaa").end();
    assertEquals("Matti Meikäläinen 1973", mattiMeikalainen.toString());
    // now kalleKustaa is protected from Matti's 1973:
View Full Code Here

Examples of org.sonatype.nexus.client.core.subsystem.security.User.firstName()

        .withRole("anonymous")
        .save();

    final User user = users().get(username);
    assertThat(user, is(notNullValue()));
    assertThat(user.firstName(), is("bar"));
  }

  @Test
  public void updateUser() {
    final String username = testMethodName();
View Full Code Here

Examples of org.sonatype.nexus.client.core.subsystem.security.User.firstName()

    final User user = users().get(username)
        .withFirstName("Bar the second")
        .save();

    assertThat(user, is(notNullValue()));
    assertThat(user.firstName(), is("Bar the second"));
  }

  @Test
  public void deleteUser() {
    final String username = testMethodName();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.