@@ -0,0 +1,751 @@
+/*%0A * Copyright 2015, Angus Macdonald %0A */%0A%0Apackage nyc.angus.wordgrid.test;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport java.lang.reflect.Constructor;%0Aimport java.lang.reflect.InvocationTargetException;%0Aimport java.lang.reflect.Modifier;%0A%0Aimport nyc.angus.wordgrid.solver.Grids;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * Tests of the %7B@link Grids%7D class.%0A */%0Apublic class GridsTests %7B%0A%0A%09@Test%0A%09public void testConstructorIsPrivate() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException,%0A%09%09%09InstantiationException %7B%0A%09%09final Constructor%3CGrids%3E constructor = Grids.class.getDeclaredConstructor();%0A%09%09assertTrue(Modifier.isPrivate(constructor.getModifiers()));%0A%09%09constructor.setAccessible(true);%0A%09%09constructor.newInstance();%0A%09%7D%0A%7D%0A

improve (test): add test to ensure Grids cannot be instantiated