@Test public void testNoUsage() throws Exception { UsageCreator creator = new UsageCreator(UsageProvider.ofString(null), null); assertThat(creator.getUsageMessage()).isNull(); }
public String getUsageMessage() throws Exception { return replaceVariables(readRawUsage()); }
UsageCreator { public String getUsageMessage() throws Exception { return replaceVariables(readRawUsage()); } }
UsageCreator { public String getUsageMessage() throws Exception { return replaceVariables(readRawUsage()); } UsageCreator();  UsageCreator(UsageProvider provider, UsageVariableSupplier supplier); }
UsageCreator { public String getUsageMessage() throws Exception { return replaceVariables(readRawUsage()); } UsageCreator();  UsageCreator(UsageProvider provider, UsageVariableSupplier supplier); @PostConstruct void setupDelegateSupplier(); String getUsageMessage(); String readRawUsage(); String replaceVariables(String raw); }
UsageCreator { public String getUsageMessage() throws Exception { return replaceVariables(readRawUsage()); } UsageCreator();  UsageCreator(UsageProvider provider, UsageVariableSupplier supplier); @PostConstruct void setupDelegateSupplier(); String getUsageMessage(); String readRawUsage(); String replaceVariables(String raw);  }