use of net.bytebuddy.description.type.TypeDefinition in project byte-buddy by raphw.
the class DuplicationOtherTest method testSingleToZeroFlip.
@Test(expected = IllegalArgumentException.class)
public void testSingleToZeroFlip() throws Exception {
TypeDefinition typeDefinition = mock(TypeDefinition.class);
when(typeDefinition.getStackSize()).thenReturn(StackSize.ZERO);
Duplication.SINGLE.flipOver(typeDefinition);
}
Aggregations