// License: GPL. For details, see LICENSE file. package org.openstreetmap.josm.gui.oauth; import static org.junit.Assert.assertNotNull; import org.junit.Rule; import org.junit.Test; import org.openstreetmap.josm.Main; import org.openstreetmap.josm.testutils.JOSMTestRules; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; /** * Unit tests of {@link SemiAutomaticAuthorizationUI} class. */ public class SemiAutomaticAuthorizationUITest { /** * Setup tests */ @Rule @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") public JOSMTestRules test = new JOSMTestRules().preferences(); /** * Unit test of {@link SemiAutomaticAuthorizationUI#SemiAutomaticAuthorizationUI}. */ @Test public void testSemiAutomaticAuthorizationUI() { assertNotNull(new SemiAutomaticAuthorizationUI("", Main.worker)); } }