package io.crowdcode.flaschenlager.user.fixture;

import io.crowdcode.flaschenlager.user.model.User;

/**
 * Created by idueppe on 24.03.17.
 */
public class UserFixture {
    public static User buildDefaultUser() {
        return new User()
                .setName("Name")
                .setPassword("secret")
                .setEmail("junit@crowdcode.io");
    }
}

@@ -99,51 +99,8 @@
 r;%0A%0A
-/**%0A * Created by idueppe on 24.03.17.%0A */%0A
 publ
@@ -264,16 +264,16 @@
 ecret%22)%0A
-
         
@@ -318,11 +318,243 @@
 );%0A    %7D
+%0A%0A    public static User buildPersistentUser() %7B%0A        return new User()%0A                .setId(-2L)%0A                .setName(%22Name2%22)%0A                .setPassword(%22secret2%22)%0A                .setEmail(%22junit2@crowdcode.io%22);%0A    %7D
 %0A%7D%0A

add user fixture