/** * Copyright (c) 2012 - 2018 Data In Motion and others. * All rights reserved. * * This program and the accompanying materials are made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Data In Motion - initial API and implementation */ package {{basePackageName}}; import static org.junit.Assert.fail; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import org.osgi.framework.FrameworkUtil; import org.gecko.core.tests.AbstractOSGiTest; /** * This is your example integration test class * @since 1.0 */ @RunWith(MockitoJUnitRunner.class) public class ExampleIntegrationTest extends AbstractOSGiTest { /** * Creates a new instance. * @param bundleContext */ public ExampleIntegrationTest() { super(FrameworkUtil.getBundle(ExampleIntegrationTest.class).getBundleContext()); } /** * Here you can put everything you want to be executed before every test */ public void doBefore() { } /** * Here you can put everything you want to be executed after every test */ public void doAfter() { } /** * Here you can put your test */ @Test public void test() { fail(); } }