@@ -0,0 +1,1631 @@
+/*******************************************************************************%0A * Copyright (c) 2014 Jens Reimann.%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A *     Jens Reimann - initial API and implementation%0A *******************************************************************************/%0Apackage de.dentrassi.osgi.web.test;%0A%0Aimport java.lang.reflect.Method;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport de.dentrassi.osgi.web.controller.Controllers;%0Aimport de.dentrassi.osgi.web.controller.routing.RequestMappingInformation;%0A%0Apublic class ControllersTest%0A%7B%0A    @Test%0A    public void testA () throws NoSuchMethodException, SecurityException%0A    %7B%0A        testMethod ( %22mainA%22, new String%5B%5D %7B %22/a%22 %7D, %22GET%22 );%0A    %7D%0A%0A    @Test%0A    public void testB () throws NoSuchMethodException, SecurityException%0A    %7B%0A        testMethod ( %22mainB%22, new String%5B%5D %7B %22/a/b%22 %7D, %22GET%22 );%0A    %7D%0A%0A    protected void testMethod ( final String name, final String%5B%5D expectedPaths, final String httpMethod ) throws NoSuchMethodException%0A    %7B%0A        final Method m = TestController.class.getMethod ( name );%0A        final RequestMappingInformation rmi = Controllers.fromMethod ( m );%0A%0A        Assert.assertNotNull ( %22No mapping information%22, rmi );%0A%0A        for ( final String p : expectedPaths )%0A        %7B%0A            Assert.assertNotNull ( %22No match for: %22 + p, rmi.matches ( p, httpMethod ) );%0A        %7D%0A    %7D%0A%7D%0A

add missing test file