class ServerViewController extends ViewController {

	public TOMMessage[] clearUpdates() {
		TOMMessage[] ret = new TOMMessage[updates.size()];
		for (int i = 0; i < updates.size(); i++) {
			ret[i] = updates.get(i);
		}
		updates.clear();
		return ret;
	}

}

class ServerViewControllerTest {

	@Test
	public void testClearUpdates() {

		fail("Not yet implemented");
	}

}