/*
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 */
package org.apache.plc4x.java.api.messages;

import org.junit.Before;
import org.junit.Test;

import java.util.List;

import static org.hamcrest.collection.IsEmptyCollection.empty;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.mock;

public class PlcUnsubscriptionRequestTest {

/*    private PlcUnsubscriptionRequest SUT;

    @Before
    public void setUp() {
        SUT = new PlcUnsubscriptionRequest();
    }

    @Test
    public void constructor() {
        new PlcUnsubscriptionRequest();
        new PlcUnsubscriptionRequest(mock(List.class));
    }

    @Test
    public void addItem() {
        SUT.addItem(mock(UnsubscriptionRequestItem.class));
    }

    @Test
    public void getRequestItems() {
        assertThat(SUT.getRequestItems(), empty());
    }

    @Test
    public void getNumberOfItems() {
        assertThat(SUT.getNumberOfItems(), equalTo(0));
    }

    @Test
    public void equalsAndHashCode() {
        PlcUnsubscriptionRequest other = new PlcUnsubscriptionRequest();
        assertThat(SUT.hashCode(), equalTo(other.hashCode()));
        assertThat(SUT.equals(other), equalTo(true));
        assertThat(SUT.equals(new Object()), equalTo(false));
        assertEquals(SUT, SUT);
    }

    @Test
    public void testToString() {
        SUT.toString();
    }*/

}