//when
new CGLIBHacker().setMockitoNamingPolicy(proxiedMethodProxy);
//then
Object createInfo = Whitebox.getInternalState(proxiedMethodProxy, "createInfo");
NamingPolicy namingPolicy = (NamingPolicy) Whitebox.getInternalState(createInfo, "namingPolicy");
assertEquals(MockitoNamingPolicy.INSTANCE, namingPolicy);
}