@@ -0,0 +1,1444 @@
+package net.bytebuddy.dynamic;%0A%0Aimport net.bytebuddy.dynamic.scaffold.ClassWriterStrategy;%0Aimport net.bytebuddy.pool.TypePool;%0Aimport net.bytebuddy.test.utility.MockitoRule;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.TestRule;%0Aimport org.mockito.Mock;%0Aimport org.objectweb.asm.ClassReader;%0Aimport org.objectweb.asm.ClassWriter;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0A%0Apublic class ClassWriterStrategyDefaultTest %7B%0A%0A    @Rule%0A    public TestRule mockitoRule = new MockitoRule(this);%0A%0A    @Mock%0A    private TypePool typePool;%0A%0A    @Mock%0A    private ClassReader classReader;%0A%0A    @Test%0A    public void testConstantPoolRetention() %7B%0A        ClassWriter withoutReader = ClassWriterStrategy.Default.CONSTANT_POOL_RETAINING.resolve(0, typePool);%0A        ClassWriter withReader = ClassWriterStrategy.Default.CONSTANT_POOL_RETAINING.resolve(0, typePool, classReader);%0A        assertThat(withReader.toByteArray().length %3E withoutReader.toByteArray().length, is(true));%0A    %7D%0A%0A    @Test%0A    public void testConstantPoolDiscarding() %7B%0A        ClassWriter withoutReader = ClassWriterStrategy.Default.CONSTANT_POOL_DISCARDING.resolve(0, typePool);%0A        ClassWriter withReader = ClassWriterStrategy.Default.CONSTANT_POOL_DISCARDING.resolve(0, typePool, classReader);%0A        assertThat(withReader.toByteArray().length == withoutReader.toByteArray().length, is(true));%0A    %7D%0A%7D%0A

Add test case for default class writer strategy.