package com.rackspacecloud.blueflood.types;

public class RollupTypeTest {
}

@@ -42,36 +42,1145 @@
 s;%0A%0A
-public class RollupTypeTest %7B
+import org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class RollupTypeTest %7B%0A%0A    @Test%0A    public void testFromString() %7B%0A        assertEquals(RollupType.BF_BASIC, RollupType.fromString(null));%0A        assertEquals(RollupType.BF_BASIC, RollupType.fromString(%22%22));%0A        assertEquals(RollupType.BF_BASIC, RollupType.fromString(%22abcdef%22));%0A%0A        assertEquals(RollupType.BF_BASIC, RollupType.fromString(%22BF_BASIC%22));%0A        assertEquals(RollupType.BF_BASIC, RollupType.fromString(%22bf_basic%22));%0A        assertEquals(RollupType.BF_BASIC, RollupType.fromString(%22bF_bAsIc%22));%0A%0A        assertEquals(RollupType.COUNTER, RollupType.fromString(%22COUNTER%22));%0A        assertEquals(RollupType.TIMER, RollupType.fromString(%22TIMER%22));%0A        assertEquals(RollupType.SET, RollupType.fromString(%22SET%22));%0A        assertEquals(RollupType.GAUGE, RollupType.fromString(%22GAUGE%22));%0A        assertEquals(RollupType.ENUM, RollupType.fromString(%22ENUM%22));%0A        assertEquals(RollupType.BF_HISTOGRAMS, RollupType.fromString(%22BF_HISTOGRAMS%22));%0A%0A        assertEquals(RollupType.NOT_A_ROLLUP, RollupType.fromString(%22NOT_A_ROLLUP%22));%0A    %7D
 %0A%7D%0A

Test the fromString method.