@Test
    public void getInstance_ReturnsSameInstance() {
        assertEquals(InstanceProfileCredentialsProvider.getInstance(),
                     InstanceProfileCredentialsProvider.getInstance());
    }
Shuts down the mock EC2 Instance Metadata Service.
aws-java-sdk-core/src/test/java/com/amazonaws/auth/InstanceProfileCredentialsProviderIntegrationTest.java