Created
October 8, 2011 09:33
-
-
Save eugenp/1272066 to your computer and use it in GitHub Desktop.
Testing the Service Layer - sample Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
public class FooService implements IFooService{ | |
@Autowired | |
IFooDAO dao; | |
@Override | |
public Long create( final Foo entity ){ | |
return this.dao.create( entity ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist is used in:
http://www.baeldung.com/2011/10/02/testing-the-service-layer/