package net.ttddyy.evernote.rest;

import org.junit.Test;

import static org.mockito.Mockito.verify;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;

/**
 * Miscellaneous tests for {@link StoreOperationController}.
 *
 * @author Tadaya Tsuyukubo
 */
public class StoreOperationControllerMiscIntegrationTest extends AbstractStoreOperationControllerIntegrationTest {

	@Test
	public void testNoInputForNoParameterMethod() throws Exception {
		mockMvc.perform(post("/userStore/isBusinessUser"));
		verify(userStoreOperations).isBusinessUser();
	}

}

@@ -48,24 +48,68 @@
 unit.Test;%0A%0A
+import static org.mockito.BDDMockito.given;%0A
 import stati
@@ -516,16 +516,80 @@
 ption %7B%0A
+%09%09given(userStoreOperations.isBusinessUser()).willReturn(true);%0A
 %09%09mockMv

update test more appropriately