Rename getResource to getResourceInformation + refactoring
add assertEqualsArrays from http://stackoverflow.com/a/12496979