@Test
public void testWrap() throws Exception {

	testWrap(new RestrictedLiferayObjectWrapper(null, null, null));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			new String[] {StringPool.STAR}, null, null));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			new String[] {StringPool.STAR},
			new String[] {LiferayObjectWrapper.class.getName()}, null));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			new String[] {StringPool.BLANK}, null, null));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			null, new String[] {StringPool.BLANK}, null));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			new String[] {StringPool.BLANK},
			new String[] {StringPool.BLANK}, null));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			new String[] {StringPool.BLANK},
			new String[] {StringPool.BLANK},
			new String[] {StringPool.BLANK}));
	testWrap(
		new RestrictedLiferayObjectWrapper(
			new String[] {StringPool.BLANK},
			new String[] {StringPool.BLANK},
			new String[] {
				TestLiferayMethodObject.class.getName() + "#getName"
			}));
}