@Test
public void increaseConcurrentOperationCountTest()
{

    int noOfConcurrentOperations = CommonProperties.getMaxConcurrentTasksPerNode();
    for ( int currentCount = 0; currentCount < noOfConcurrentOperations - 1; ++currentCount )
    {
        NodeMetaInfoProvider.increaseConcurrentOperationCount( "N1" );
    }
    Boolean lockAcquired = NodeMetaInfoProvider.increaseConcurrentOperationCount( "N1" );
    assertTrue( lockAcquired );
    for ( int currentCount = 0; currentCount <= noOfConcurrentOperations; ++currentCount )
    {
        NodeMetaInfoProvider.decreaseConcurrentOperationCount( "N1" );
    }
}