Skip to content

Instantly share code, notes, and snippets.

@eugenp
Created October 8, 2011 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eugenp/1272066 to your computer and use it in GitHub Desktop.
Save eugenp/1272066 to your computer and use it in GitHub Desktop.
Testing the Service Layer - sample Service
@Service
public class FooService implements IFooService{
@Autowired
IFooDAO dao;
@Override
public Long create( final Foo entity ){
return this.dao.create( entity );
}
}
@eugenp
Copy link
Author

eugenp commented Feb 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment