/**
 * This source file is subject to the license that is bundled with this package in the file LICENSE.
 */
package com.codeup.auth.jdbc;

import com.codeup.auth.User;
import org.junit.Test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.*;

public class UsersMapperTest {
    @Test
    public void it_maps_correctly_a_user() {
        UsersMapper mapper = new UsersMapper();
        List<Object> values = new ArrayList<>();
        values.addAll(Arrays.asList(7L, "luis", "changeme"));

        User user = mapper.mapRow(values);

        assertEquals(7L, user.id());
        assertEquals("luis", user.username());
        assertEquals("changeme", user.password());
    }
}

@@ -686,22 +686,20 @@
   assert
-Equals
+True
 (%22change
@@ -701,18 +701,24 @@
 hangeme%22
-, 
+.equals(
 user.pas
@@ -724,16 +724,28 @@
 ssword()
+.toString())
 );%0A    %7D

Fix assertion in UsersMapperTest