package tf.resizablelabel;

import org.junit.Before;

public class ResizableLabelTest {
    private ResizableLabel label;

    @Before
    public void initialize() {
        label = new ResizableLabel();
    }
}

@@ -38,22 +38,93 @@
 g.junit.
-Before
+Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport javax.swing.*
 ;%0A%0Apubli
@@ -230,16 +230,16 @@
 ize() %7B%0A
-
         
@@ -273,11 +273,271 @@
 );%0A    %7D
+%0A%0A    @Test%0A    public void hasDefaultFontSizeAsJLabelWhenCreated() %7B%0A        JLabel jLabel = new JLabel();%0A        int jLabelSize = jLabel.getFont().getSize();%0A        int size = label.getFont().getSize();%0A%0A        Assert.assertEquals(jLabelSize, size);%0A    %7D
 %0A%7D%0A

Add font size test