Show / Hide Table of Contents

    Class GatewayListenerTests

    Tests for the GatewayListener<TConnectionFactory> class.

    Inheritance
    System.Object
    GatewayListenerTests
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Communications.Listeners.Tests
    Assembly: Fibula.Communications.Tests.dll
    Syntax
    [TestClass]
    public class GatewayListenerTests

    Methods

    | Improve this Doc View Source

    GatewayListener_CallsNewConnectionEvent()

    Checks that the GatewayListener<TConnectionFactory> invokes the NewConnection event.

    Declaration
    [TestMethod]
    public Task GatewayListener_CallsNewConnectionEvent()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous unit test.

    | Improve this Doc View Source

    GatewayListener_Initialization()

    Checks GatewayListener<TConnectionFactory> initialization.

    Declaration
    [TestMethod]
    public void GatewayListener_Initialization()
    | Improve this Doc View Source

    GatewayListener_OptionsValidation()

    Checks the GatewayListener<TConnectionFactory>'s options validation.

    Declaration
    [TestMethod]
    public void GatewayListener_OptionsValidation()

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.