@Test
public void testGetOnDemandSpecification()
{

    // Create objects required for testing.
    final EmrClusterDefinitionOnDemandSpecification emrClusterDefinitionOnDemandSpecification =
        new EmrClusterDefinitionOnDemandSpecification(ALLOCATION_STRATEGY_1);
    // Call the method under test.
    OnDemandProvisioningSpecification result = emrDaoImpl.getOnDemandSpecification(emrClusterDefinitionOnDemandSpecification);
    // Verify the external calls.
    verifyNoMoreInteractionsHelper();
    // Validate the results.
    assertEquals(new OnDemandProvisioningSpecification().withAllocationStrategy(ALLOCATION_STRATEGY_1), result);
}