// Path: LightMeterUnitTest/src/com/kaipic/lightmeter/lib/ExposureValueTest.java
// public static void assertEVEquals(ExposureValue expected, ExposureValue actual) throws Exception {
//   assertEquals(expected.getValue(), actual.getValue(), 0.001f);
// }


import org.junit.Test;
import static com.kaipic.lightmeter.lib.ExposureValueTest.assertEVEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
package com.kaipic.lightmeter.lib;



public class ManualModeTest {

  @Test
  public void shouldCalculateEVWhenAsked() throws Exception {
    LightMeter lightMeter = mock(LightMeter.class);
    Aperture aperture = new Aperture(4f);
    when(lightMeter.getAperture()).thenReturn(aperture);
// Path: LightMeterUnitTest/src/com/kaipic/lightmeter/lib/ExposureValueTest.java
// public static void assertEVEquals(ExposureValue expected, ExposureValue actual) throws Exception {
//   assertEquals(expected.getValue(), actual.getValue(), 0.001f);
// }


// Path: LightMeterUnitTest/src/com/kaipic/lightmeter/lib/ManualModeTest.java
import org.junit.Test;
import static com.kaipic.lightmeter.lib.ExposureValueTest.assertEVEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

package com.kaipic.lightmeter.lib;



public class ManualModeTest {

  @Test
  public void shouldCalculateEVWhenAsked() throws Exception {
    LightMeter lightMeter = mock(LightMeter.class);
    Aperture aperture = new Aperture(4f);
    when(lightMeter.getAperture()).thenReturn(aperture);
    when(lightMeter.getISO()).thenReturn(new Iso(200));