Java conversion to php?
<p>Is it possible to convert this java code snippet to php?</p>

<pre><code>public void testBalanceReturnsToZeroOnVending()
        {
            sodaVendor.insertCoin(50);
            sodaVendor.insertCoin(20);
            sodaVendor.insertCoin(5);
            // The price is right!
            assertEquals("We have entered correct money", 
                SODA_PRICE,
                sodaVendor.getCurrentBalance());
            sodaVendor.dispenseItem();
            assertEquals("After vending, the balance of soda vending machine is zero", 
                0,
                sodaVendor.getCurrentBalance());
        }
</code></pre>
