package de.itemis.mosig.ringbuffer;

import org.junit.Test;

public class CircularBufferTest {

	@Test
	public void constructorShouldSetProvidedSize() {
		new CircularBuffer(3);
	}
}

@@ -30,16 +30,41 @@
 uffer;%0A%0A
+import org.junit.Assert;%0A
 import o
@@ -78,16 +78,16 @@
 t.Test;%0A
-
 %0Apublic 
@@ -177,28 +177,99 @@
 %7B%0A%09%09
-new CircularBuffer(3
+CircularBuffer underTest = new CircularBuffer(3);%0A%09%09Assert.assertEquals(3, underTest.size()
 );%0A%09

Test uses non existing size method.