@Test public void testIsAllowOverride_1() throws Exception { final boolean result = OAuth2GadgetBindingTest.FIXTURE.isAllowOverride(); Assert.assertEquals(true, result); }
@Test public void testIsAllowOverride_2() throws Exception { final boolean result = OAuth2GadgetBindingTest.FIXTURE.isAllowOverride(); Assert.assertEquals(true, result); }
@Test public void testIsAllowOverride_1() throws Exception { final boolean result = OAuth2GadgetBindingTest.FIXTURE.isAllowOverride(); Assert.assertEquals(true, result); }
@Test public void testIsAllowOverride_2() throws Exception { final boolean result = OAuth2GadgetBindingTest.FIXTURE.isAllowOverride(); Assert.assertEquals(true, result); }
client.setGadgetUri(binding.getGadgetUri()); client.setServiceName(binding.getGadgetServiceName()); client.setAllowModuleOverride(binding.isAllowOverride()); ret.add(client);
@Test public void testOAuth2GadgetBinding_1() throws Exception { final OAuth2GadgetBinding result = new OAuth2GadgetBinding("xxx", "yyy", "zzz", false); Assert.assertNotNull(result); Assert.assertEquals("zzz", result.getClientName()); Assert.assertEquals("yyy", result.getGadgetServiceName()); Assert.assertEquals("xxx", result.getGadgetUri()); Assert.assertEquals(false, result.isAllowOverride()); }
@Test public void testOAuth2GadgetBinding_1() throws Exception { final OAuth2GadgetBinding result = new OAuth2GadgetBinding("xxx", "yyy", "zzz", false); Assert.assertNotNull(result); Assert.assertEquals("zzz", result.getClientName()); Assert.assertEquals("yyy", result.getGadgetServiceName()); Assert.assertEquals("xxx", result.getGadgetUri()); Assert.assertEquals(false, result.isAllowOverride()); }