initial commit for TestDefaultSystemScopeService.

pull/373/head
William Kim 2013-06-21 09:41:30 -04:00 committed by Justin Richer
parent d0dc3c79cb
commit eca62f2d36
1 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,58 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation
* and the MIT Kerberos and Internet Trust Consortium
*
* Licensed 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.mitre.oauth2.service.impl;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mitre.oauth2.repository.SystemScopeRepository;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner;
/**
* @author wkim
*
*/
@RunWith(MockitoJUnitRunner.class)
public class TestDefaultSystemScopeService {
// TODO test fixtures
@Mock
private SystemScopeRepository repository;
@InjectMocks
private DefaultSystemScopeService service;
@Before
public void prepare() {
Mockito.reset(repository);
// TODO set up test fixtures
}
@Test
public void test() {
assertTrue("Not yet implemented", true);
}
}