New tests for toConstructor(). 

I found one bug - we were looking for scoping annotations on the bind source type rather than the bind target type. This is fixed now.

One weird behaviour - @Singleton is per-binding, not per-type. Check the scoping test for an illustration.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@1024 d779f126-a31b-0410-b53b-1d3aecad763e
2 files changed