JavaStubs is a Java class library that provides class mocking and method stubbing (partial mocking) for JUnit 4. You may optionally use the included BDD framework (which also runs inside JUnit 4).
Codeception is a full-stack testing PHP framework. Inspired by BDD, it provides an original way for writing acceptance, functional, and unit tests. It's easy to write, easy to understand, and easy to run in a browser or its emulator.