org.mockito.exceptions.misusing.UnfinishedStubbingException: Unfinished stubbing detected here:

Stack Overflow | P Kuijpers | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Powermockito mocking static method returning a Mockito.mock

    Stack Overflow | 6 months ago | P Kuijpers
    org.mockito.exceptions.misusing.UnfinishedStubbingException: Unfinished stubbing detected here:

    Root Cause Analysis

    1. org.mockito.exceptions.misusing.UnfinishedStubbingException

      Unfinished stubbing detected here:

      at nl.mijnverzekering.entities.declareren.NotaPdfMetadataTest.mockFileSize()
    2. nl.mijnverzekering.entities
      NotaPdfMetadataTest.mockFileSize
      1. nl.mijnverzekering.entities.declareren.NotaPdfMetadataTest.mockFileSize(NotaPdfMetadataTest.java:273)
      1 frame