public void GetRpcVersion() { var logger = new Mock <ILogger>(); var rpc = new OmvHttpService(logger.Object, new LocalIHttpClient()); var systemClient = new OmvSystemClient(rpc); Assert.IsNotNull(systemClient); var v = systemClient.GetRpcVersion(); Assert.IsNotNull(v); Assert.AreEqual(OMVVersions.Version6, v); }
public OMVVersion GetRpcVersion() { return(_omvSystemClient.GetRpcVersion()); }