

package org.cloudfoundry.client.v3.isolationsegments;

import org.junit.Test;

public final class GetIsolationSegmentRequestTest {

    @Test(expected = IllegalStateException.class)
    public void noId() {
        GetIsolationSegmentRequest.builder()
            .build();
    }

    @Test
    public void valid() {
        GetIsolationSegmentRequest.builder()
            .isolationSegmentId("test-id")
            .build();
    }

}
