@Test
public void testPutStringObject() {
final AuthenticationInfo info = new AuthenticationInfo("test", "user",
new char[2]);
info.put(CREDENTIALS,
new SimpleCredentials("user", new char[2]));
test_put_fail(info, AuthenticationInfo.AUTH_TYPE, null);
test_put_fail(info, ResourceResolverFactory.USER, null);
test_put_fail(info, ResourceResolverFactory.PASSWORD, null);