// Path: src/main/java/com/edwise/completespring/entities/Foo.java
// @ApiModel(value = "Foo entity", description = "Complete info of a entity foo")
// @Data
// @Accessors(chain = true)
// @EqualsAndHashCode(exclude = {"id"}, doNotUseGetters = true)
// @ToString(doNotUseGetters = true)
// public class Foo {
// 
//     @ApiModelProperty(value = "Sample Id Attribute", required = true)
//     private Long id;
// 
//     @ApiModelProperty(value = "Sample Text Attribute", required = true)
//     @NotNull
//     private String sampleTextAttribute;
// 
//     @ApiModelProperty(value = "Sample Local Date Attribute", required = true, dataType = "LocalDate")
//     @NotNull
//     private LocalDate sampleLocalDateAttribute;
// 
//     public Foo copyFrom(Foo other) {
//         this.sampleTextAttribute = other.sampleTextAttribute;
//         this.sampleLocalDateAttribute = other.sampleLocalDateAttribute;
// 
//         return this;
//     }
// }


import com.edwise.completespring.entities.Foo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.when;
package com.edwise.completespring.assemblers;



@RunWith(MockitoJUnitRunner.class)
public class FooResourceAssemblerTest {
    private static final long FOO_ID_TEST = 1234L;

    @Mock
// Path: src/main/java/com/edwise/completespring/entities/Foo.java
// @ApiModel(value = "Foo entity", description = "Complete info of a entity foo")
// @Data
// @Accessors(chain = true)
// @EqualsAndHashCode(exclude = {"id"}, doNotUseGetters = true)
// @ToString(doNotUseGetters = true)
// public class Foo {
// 
//     @ApiModelProperty(value = "Sample Id Attribute", required = true)
//     private Long id;
// 
//     @ApiModelProperty(value = "Sample Text Attribute", required = true)
//     @NotNull
//     private String sampleTextAttribute;
// 
//     @ApiModelProperty(value = "Sample Local Date Attribute", required = true, dataType = "LocalDate")
//     @NotNull
//     private LocalDate sampleLocalDateAttribute;
// 
//     public Foo copyFrom(Foo other) {
//         this.sampleTextAttribute = other.sampleTextAttribute;
//         this.sampleLocalDateAttribute = other.sampleLocalDateAttribute;
// 
//         return this;
//     }
// }


// Path: src/test/java/com/edwise/completespring/assemblers/FooResourceAssemblerTest.java
import com.edwise.completespring.entities.Foo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.when;

package com.edwise.completespring.assemblers;



@RunWith(MockitoJUnitRunner.class)
public class FooResourceAssemblerTest {
    private static final long FOO_ID_TEST = 1234L;

    @Mock
    private Foo foo;