public void ServerConnectionConstructor() { //--------------------------------------------------------------------- //Setup //--------------------------------------------------------------------- ServerLibrary.ServerConnectionUDP connection; //--------------------------------------------------------------------- //Run Test //--------------------------------------------------------------------- connection = new ServerLibrary.ServerConnectionUDP("Tester"); //--------------------------------------------------------------------- //Gather Output //--------------------------------------------------------------------- //--------------------------------------------------------------------- //Assert //--------------------------------------------------------------------- }
public void ServerConnectionGetConnectionsName() { //--------------------------------------------------------------------- //Setup //--------------------------------------------------------------------- DotNetserialization serializer = new DotNetserialization(); ServerLibrary.ServerConnectionUDP connection = new ServerLibrary.ServerConnectionUDP("Tester"); string outputName; //--------------------------------------------------------------------- //Run Test //--------------------------------------------------------------------- outputName = connection.GetConnectionName(); //--------------------------------------------------------------------- //Gather Output //--------------------------------------------------------------------- //--------------------------------------------------------------------- //Assert //--------------------------------------------------------------------- }