@Test
public void shouldRunHibernateLazyInitialization() throws Exception {

	LazyInitializer initializer = mock(LazyInitializer.class);
	HibernateProxy proxy = mock(HibernateProxy.class);
	
	when(proxy.getHibernateLazyInitializer()).thenReturn(initializer);
	
	Bazinga bazinga = new Bazinga(proxy);
	serialization.from(bazinga).include("value").serialize();
	assertThat(result(), is("{\"bazinga\":{}}"));
}