public async Task Exists_Insert_ShouldBeGettable() { ISubscribedServerRepository repo = new SubscribedServerRepository(GetMysql()); await repo.Add(DefaultTestData.DefaultServer, 123, 321u); var sub = await repo.Get(DefaultTestData.DefaultServer, 321u); Assert.Equal(123, sub.Port); Assert.Equal(321u, sub.ChannelId); Assert.Equal(DefaultTestData.DefaultServer.ServerIp, sub.Server.ServerIp); }