@@ -0,0 +1,1807 @@
+/*%0A * Copyright %C2%A9 2013 Sebastian Ho%C3%9F %3Cmail@shoss.de%3E%0A * This work is free. You can redistribute it and/or modify it under the%0A * terms of the Do What The Fuck You Want To Public License, Version 2,%0A * as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.%0A */%0Apackage com.github.sebhoss.time;%0A%0Aimport java.lang.reflect.Constructor;%0Aimport java.lang.reflect.InvocationTargetException;%0Aimport java.lang.reflect.Modifier;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0A/**%0A *%0A *%0A */%0Apublic class FiscalYearsTest %7B%0A%0A    /**%0A     * Ensures that the constructor of the %7B@link FiscalYears%7D class is private.%0A     * %3Cp%3E%0A     * The class should never be instantiated.%0A     *%0A     * @throws NoSuchMethodException%0A     *             Should not fail in case the StorageUnits class has a constructor..%0A     * @throws IllegalAccessException%0A     *             Should not fail in case the StorageUnits class has a constructor..%0A     * @throws InvocationTargetException%0A     *             Should not fail in case the StorageUnits class has a constructor..%0A     * @throws InstantiationException%0A     *             Should not fail in case the StorageUnits class has a constructor..%0A     */%0A    @SuppressWarnings(%22static-method%22)%0A    @Test%0A    public void shouldDeclarePrivateConstructor()%0A            throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException %7B%0A        // Given%0A        final Constructor%3CFiscalYears%3E constructor = FiscalYears.class.getDeclaredConstructor();%0A%0A        // When%0A        final boolean isPrivate = Modifier.isPrivate(constructor.getModifiers());%0A%0A        // Then%0A        Assert.assertTrue(%22Constructor is not private%22, isPrivate); //$NON-NLS-1$%0A        constructor.setAccessible(true);%0A        constructor.newInstance();%0A    %7D%0A%0A%7D%0A

add test for factory