*
* @throws Exception
*/
public void testBindAbsolutePackageResource() throws Exception
{
final SharedResources sharedResources = Application.get().getSharedResources();
PackageResource.bind(application, PackageResourceTest.class, "packaged1.txt");
assertNotNull("resource packaged1.txt should be available as a packaged resource",
sharedResources.get(PackageResourceTest.class, "packaged1.txt", null, null, true));
assertNull("resource packaged2.txt should NOT be available as a packaged resource",
sharedResources.get(PackageResourceTest.class, "packaged2.txt", null, null, true));
}