Class AlbumTest


  • class AlbumTest
    extends java.lang.Object
    Test class for album.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Album album  
      private static User user  
    • Constructor Summary

      Constructors 
      Constructor Description
      AlbumTest()  
    • Method Summary

      Modifier and Type Method Description
      (package private) void getAlbums_AddNewAlbum_True()  
      (package private) void getID_AlbumCorrectID_isEqual()
      Checks whether the album has the correct user id.
      (package private) static void setup()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • user

        private static User user
      • album

        private static Album album
    • Constructor Detail

      • AlbumTest

        AlbumTest()
    • Method Detail

      • setup

        @BeforeAll
        static void setup()
      • getID_AlbumCorrectID_isEqual

        @Test
        void getID_AlbumCorrectID_isEqual()
        Checks whether the album has the correct user id.
      • getAlbums_AddNewAlbum_True

        @Test
        void getAlbums_AddNewAlbum_True()