protected boolean userIsOwner() {
        final MantaAccountHomeInfo account = new MantaAccountHomeInfo(host.getCredentials().getUsername(), host.getDefaultPath());
        return StringUtils.equals(host.getCredentials().getUsername(),
            account.getAccountOwner());
    }
@Test
    public void testUserOwnerIdentification() {
        final MantaSession ownerSession = new MantaSession(
            new Host(
                new MantaProtocol(),
                null,
                443,
                new Credentials("theOwner")), new DisabledX509TrustManager(), new DefaultX509KeyManager());
        assertTrue(ownerSession.userIsOwner());
        final MantaSession subuserSession = new MantaSession(
            new Host(
                new MantaProtocol(),
                null,
                443,
                new Credentials("theOwner/theSubUser")), new DisabledX509TrustManager(), new DefaultX509KeyManager());
        assertFalse(subuserSession.userIsOwner());
    }