Skip to content

Commit

Permalink
Merge pull request Azure#139 from loudej/rename-metainf-services
Browse files Browse the repository at this point in the history
Updating name of services file. Fixes Azure#129
  • Loading branch information
rpaquay committed Nov 29, 2011
2 parents 5aa947d + 7f4fd0c commit 7e22040
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.junit.Test;

import com.microsoft.windowsazure.services.core.Configuration;
import com.microsoft.windowsazure.services.serviceBus.implementation.ServiceBusExceptionProcessor;

public class ServiceBusCreationTest {
@Test
Expand All @@ -13,7 +14,7 @@ public void theServiceClassMayBeCreatedDirectlyViaSingletonConfig() throws Excep
ServiceBusContract service = ServiceBusService.create();

assertNotNull(service);
assertEquals(ServiceBusService.class, service.getClass());
assertEquals(ServiceBusExceptionProcessor.class, service.getClass());
}

public Configuration newConfiguration() {
Expand All @@ -28,7 +29,7 @@ public void theServiceClassMayBeCreatedDirectlyWithConfig() throws Exception {
ServiceBusContract service = ServiceBusService.create(config);

assertNotNull(service);
assertEquals(ServiceBusService.class, service.getClass());
assertEquals(ServiceBusExceptionProcessor.class, service.getClass());
}

@Test
Expand All @@ -37,7 +38,7 @@ public void theServiceClassMayAlsoBeCreatedFromConfig() throws Exception {
ServiceBusContract service = config.create(ServiceBusContract.class);

assertNotNull(service);
assertEquals(ServiceBusService.class, service.getClass());
assertEquals(ServiceBusExceptionProcessor.class, service.getClass());
}

@Test
Expand Down

0 comments on commit 7e22040

Please sign in to comment.