@Test public void testGetType() { AppAccount account = new AppAccount(new AliyunAccount("access_id", "access_key")); assertEquals(AccountProvider.ALIYUN, account.getType()); }
@Override public AccountProvider getType() { return appAccount.getType(); }
AppAccount implements Account { @Override public AccountProvider getType() { return appAccount.getType(); } }
AppAccount implements Account { @Override public AccountProvider getType() { return appAccount.getType(); } AppAccount(Account account); }
AppAccount implements Account { @Override public AccountProvider getType() { return appAccount.getType(); } AppAccount(Account account); @Override AccountProvider getType(); @Override AppRequestSigner getRequestSigner(); }
AppAccount implements Account { @Override public AccountProvider getType() { return appAccount.getType(); } AppAccount(Account account); @Override AccountProvider getType(); @Override AppRequestSigner getRequestSigner();  }