Most people who have used EasyMock before are familiar with the types of mock objects. There is the basic mock object, created with EasyMock.createMock(MyInterface.class). There is the strict mock that validates both the method calls and the order they occur. Finally there is the nice mock which returns a basic default (false, 0 or null) if an unexpected method call occurs. However, most developers I have come across don't use mock controls much. This tutorial will introduce you to the concepts of mock controls and show you an example of where testing without them may not be as safe as you think.
More
Want lightbox functionality but don't want to add yet another javascript library to your project? Prototype and script.aculo.us are probably two javascript libraries you already have in your project. Here we will cover a lightweight way to implement lightbox functionality without adding yet another javascript library.
More
| About MichaelMinella.com |
|
|
|
|