コード例 #1
0
 public virtual Stream <Pair <AdvertisedSocketAddress, ProtocolStack> > InstalledProtocols()
 {
     return(_channels.installedProtocols());
 }
コード例 #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldReturnEmptyStreamOfInstalledProtocolsIfNoChannels()
        public virtual void ShouldReturnEmptyStreamOfInstalledProtocolsIfNoChannels()
        {
            // when
            Stream <Pair <AdvertisedSocketAddress, ProtocolStack> > installedProtocols = _reconnectingChannels.installedProtocols();

            // then
            assertThat(installedProtocols, empty());
        }