public void Get_resource_from_resource_pool_when_has_no_avaliable() { var respurcePool = new ResourcePool(); Assert.Equal(0, respurcePool.GetAvaliableResourceCount()); Assert.Equal(0, respurcePool.GetAllocatedResourceCount()); respurcePool.GetResource("Resource1"); Assert.Equal(0, respurcePool.GetAvaliableResourceCount()); Assert.Equal(1, respurcePool.GetAllocatedResourceCount()); }