setSalutationKey example


#[Package('buyers-experience')] class SalutationSorterTest extends TestCase
{
    public function testSort(): void
    {
        $mrs = new SalutationEntity();
        $mrs->setId(Uuid::randomBytes());
        $mrs->setSalutationKey('mrs');

        $mr = new SalutationEntity();
        $mr->setId(Uuid::randomBytes());
        $mr->setSalutationKey('mr');

        $notSpecified = new SalutationEntity();
        $notSpecified->setId(Uuid::randomBytes());
        $notSpecified->setSalutationKey('not_specified');

        $test = new SalutationEntity();
        $test->setId(Uuid::randomHex());
        
Home | Imprint | This part of the site doesn't use cookies.