<?php

/*
 * This file is part of the Sylius package.
 *
 * (c) Paweł Jędrzejewski
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Core\Test\Factory;

use Sylius\Component\Core\Model\UserInterface;

/**
 * @author Mateusz Zalewski <mateusz.zalewski@lakion.com>
 * @author Magdalena Banasiak <magdalena.banasiak@lakion.com>
 */
interface TestUserFactoryInterface
{
    /**
     * @param string $email
     * @param string $password
     * @param string $firstName
     * @param string $lastName
     * @param string $role
     *
     * @return UserInterface
     */
    public function create($email, $password, $firstName, $lastName, $role);

    /**
     * @return UserInterface
     */
    public function createDefault();
}

<?php

/*
 * This file is part of the Sylius package.
 *
 * (c) Paweł Jędrzejewski
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Core\Test\Factory;

use Sylius\Component\Core\Model\UserInterface;

/**
 * @author Mateusz Zalewski <mateusz.zalewski@lakion.com>
 * @author Magdalena Banasiak <magdalena.banasiak@lakion.com>
 */
interface TestUserFactoryInterface
{
    /**
     * @param string $email
     * @param string $password
     * @param string $firstName
     * @param string $lastName
     * @param string $role
     *
     * @return UserInterface
     */
    public function create($email, $password, $firstName, $lastName, $role);

    /**
     * @return UserInterface
     */
    public function createDefault();

    /**
     * @return UserInterface
     */
    public function createDefaultAdmin();
}

--- 
+++ 
@@ -34,9 +34,4 @@
      * @return UserInterface
      */
     public function createDefault();
-
-    /**
-     * @return UserInterface
-     */
-    public function createDefaultAdmin();
 }
[User] Change user bundle configuration to be able to support multiple entity

[Behat] Separate security context & clean up

[Core][User] replace unused services
