@Test
 public void testRetransformationChunkedStrategyIsRetransforming() throws Exception {
   Instrumentation instrumentation = mock(Instrumentation.class);
   when(instrumentation.isRetransformClassesSupported()).thenReturn(true);
   assertThat(
       AgentBuilder.RedefinitionStrategy.RETRANSFORMATION_CHUNKED.isRetransforming(
           instrumentation),
       is(true));
 }
 @Test(expected = IllegalArgumentException.class)
 public void testRetransformationChunkedStrategyNotSupportedThrowsException() throws Exception {
   AgentBuilder.RedefinitionStrategy.RETRANSFORMATION_CHUNKED.isRetransforming(
       mock(Instrumentation.class));
 }
 @Test
 public void testRetransformationChunkedStrategyIsEnabled() throws Exception {
   assertThat(AgentBuilder.RedefinitionStrategy.RETRANSFORMATION_CHUNKED.isEnabled(), is(true));
 }