### Question:
SystemPropertiesBean implements CommandListener { @Command public String osArch() { return System.getProperty("os.arch"); }  @Command String home(); @Command String home(@Exists @Directory File file); @Command String user(); @Command String dir(); @Command String dir(@Exists @Directory File file); @Command String setProperty(@Option({"key", "k"}) String key, @Option({"value", "v"}) String value); @Command String getProperty(@Option({"key", "k"}) String key); @Command String javaVendor(); @Command String javaVendorUrl(); @Command String javaVersion(); @Command String osArch(); @Command String osName(); @Command String osVersion();  }### Answer:
@Test public void testOsArch() throws Exception { assertEquals(System.getProperty("os.arch"), main.exec("osArch")); }